/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.iboss.entity;/**
 * Created by Administrator on 2017/12/5.
 */

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author 刘阳
 * @ClassName <ScProOrderTimeState>
 * @despriction 生产订单超期状态表
 * @create 2017/12/05 9:31
 **/
@Entity
@Table(name = "sc_product_order_time_state")
public class ScProOrderTimeState implements Serializable {
    @Id
    @Column(name = "id")
    private Long id; // id 字段为  生产子订单ID

    @Column(name = "sc_product_order_no")
    private String scProOrderNo; // 生产子订单编号

    @Column(name = "order_process_day")
    private Integer orderProcessDay; //订单办理天数（天）

    @Column(name = "order_start_date_time")
    private Date orderStartDateTime;   // 订单计时开始时间

    @Column(name = "order_suspend_time")
    private Long orderSuspendTime; //订单暂停总时间时间（毫秒）

    @Column(name = "order_overdue_time")
    private Date orderOverdueTime;  // 订单预计超期时间

    @Column(name = "order_overdue_state")
    private String orderOverdueState;  //订单超期状态


    @Column(name = "node_process_day")
    private Integer nodeProcessDay; //节点办理天数（天）

    @Column(name = "node_start_date_time")
    private Date nodeStartDateTime;   // 节点计时开始时间

    @Column(name = "node_suspend_time")
    private Long nodeSuspendTime; //节点暂停总时间时间（毫秒）

    @Column(name = "node_overdue_time")
    private Date nodeOverdueTime;  // 节点预计超期时间

    @Column(name = "node_overdue_state")
    private String nodeOverdueState;  //节点超期状态

    @Column(name = "flag")
    private Integer flag; // 更新标志  1：更新   0 不更新

    @Column(name = "next_follow_time")
    private Date nextFollowTime; //下次跟进时间

    @Column(name = "follow_overdue_state")
    private String followOverdueState; //跟进 状态


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getScProOrderNo() {
        return scProOrderNo;
    }

    public void setScProOrderNo(String scProOrderNo) {
        this.scProOrderNo = scProOrderNo;
    }

    public Integer getOrderProcessDay() {
        return orderProcessDay;
    }

    public void setOrderProcessDay(Integer orderProcessDay) {
        this.orderProcessDay = orderProcessDay;
    }

    public Date getOrderStartDateTime() {
        return orderStartDateTime;
    }

    public void setOrderStartDateTime(Date orderStartDateTime) {
        this.orderStartDateTime = orderStartDateTime;
    }

    public Long getOrderSuspendTime() {
        return orderSuspendTime;
    }

    public void setOrderSuspendTime(Long orderSuspendTime) {
        this.orderSuspendTime = orderSuspendTime;
    }

    public Date getOrderOverdueTime() {
        return orderOverdueTime;
    }

    public void setOrderOverdueTime(Date orderOverdueTime) {
        this.orderOverdueTime = orderOverdueTime;
    }

    public String getOrderOverdueState() {
        return orderOverdueState;
    }

    public void setOrderOverdueState(String orderOverdueState) {
        this.orderOverdueState = orderOverdueState;
    }

    public Integer getNodeProcessDay() {
        return nodeProcessDay;
    }

    public void setNodeProcessDay(Integer nodeProcessDay) {
        this.nodeProcessDay = nodeProcessDay;
    }



    public Date getNodeStartDateTime() {
        return nodeStartDateTime;
    }

    public void setNodeStartDateTime(Date nodeStartDateTime) {
        this.nodeStartDateTime = nodeStartDateTime;
    }

    public Long getNodeSuspendTime() {
        return nodeSuspendTime;
    }

    public void setNodeSuspendTime(Long nodeSuspendTime) {
        this.nodeSuspendTime = nodeSuspendTime;
    }

    public Date getNodeOverdueTime() {
        return nodeOverdueTime;
    }

    public void setNodeOverdueTime(Date nodeOverdueTime) {
        this.nodeOverdueTime = nodeOverdueTime;
    }

    public String getNodeOverdueState() {
        return nodeOverdueState;
    }

    public void setNodeOverdueState(String nodeOverdueState) {
        this.nodeOverdueState = nodeOverdueState;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Date getNextFollowTime() {
        return nextFollowTime;
    }

    public void setNextFollowTime(Date nextFollowTime) {
        this.nextFollowTime = nextFollowTime;
    }

    public String getFollowOverdueState() {
        return followOverdueState;
    }

    public void setFollowOverdueState(String followOverdueState) {
        this.followOverdueState = followOverdueState;
    }
}
